using AutoMapper;
using NBModular.Lib.Mapper.AutoMapper;
using NBModular.Module.Member.Application.UserRanksService.ViewModels;
using NBModular.Module.Member.Domain.UserRanks;

namespace NBModular.Module.Member.Application.UserRanksService
{
    public class MapperConfig : IMapperConfig
    {
        public void Bind(IMapperConfigurationExpression cfg)
        {
            cfg.CreateMap<UserRanksAddModel, UserRanksEntity>();
            cfg.CreateMap<UserRanksEntity, UserRanksUpdateModel>();
            cfg.CreateMap<UserRanksUpdateModel, UserRanksEntity>();
        }
    }
}
